TenWebOptimizer\OptimizerAdmin D

Total Complexity 339
Dependencies 17
Dependents 5
Total lines 1,392
Lines of code 1,195
Logical lines of code 742
Comment lines 63
Methods 54
Properties 3

Methods 54

Method Rating Maintainability Complexity Lines of code
ajax_two_settings()
B
40 21 54
two_critical()
B
41 18 53
get_posts_for_critical()
A
42 15 47
activate()
A
45 15 38
two_enqueue_admin_assets()
A
37 13 65
save_css_options()
A
41 13 59
request_webp_action()
A
39 11 67
clear_cache()
A
44 11 43
two_flow_incompatible_plugins()
A
51 12 24
admin_menu()
A
40 9 69
__construct()
A
42 10 46
init_admin()
A
39 9 58
clear_cache_conditionally_update()
A
52 11 22
settings_page()
A
53 11 19
connect_to_tenweb()
A
43 9 43
two_flow_set_mode()
A
52 10 21
two_critical_statuses()
A
50 8 27
update()
A
52 8 24
two_deactivate()
S
51 7 25
set_global_mode()
S
53 7 24
generateCriticalCssOnInit()
S
55 7 19
two_update_flow_status()
S
57 7 15
two_activate()
S
54 6 20
clear_critical_cache()
S
54 6 20
two_enqueue_assets()
S
48 5 32
get_plugins_state()
S
57 5 16
add_two_delayed_js_execution_list()
S
57 5 16
two_deactivate_plugin()
S
64 5 9
wp_permalink_structure_changed_()
S
61 4 12
disconnect_from_tenweb()
S
52 3 24
clear_cache_conditionally_activate()
S
59 3 16
redirect_after_activation()
S
69 4 6
two_clear_cloudflare_cache()
S
68 4 7
post_clear_cache()
S
66 4 7
ajax_two_update_setting()
S
61 3 11
fix_delayed_list_slashes()
S
62 3 11
two_finish_flow()
S
61 3 11
acf_update_fields()
S
68 3 6
get_incompatible_active_plugins()
S
65 3 9
two_white_label()
S
68 3 6
add_deactivation_popup()
S
73 3 5
manager_clear_cache()
S
66 3 7
two_manage_posts_column()
S
67 3 8
two_uninstall()
S
56 1 20
get_instance()
S
72 2 6
change_front_page()
S
69 2 7
title_filter()
S
67 2 7
add_action_link()
S
67 2 7
delete_optimized_pages_by_id()
S
71 2 6
customer_support()
S
70 1 6
cloudflare_cdn_page()
S
81 1 3
white_label_view()
S
80 1 3
two_admin_bar_menu()
S
72 1 6
clear_cache_without_critical_css_regeneration()
S
78 1 3